package com.huayue.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.huayue.dao.BaseDao;
import com.huayue.dao.DepotDao;
import com.huayue.entity.Depot;

/**
 * 库存
 */
@Service
public class DepotService extends BaseService<Depot> {
    @Autowired
    DepotDao depotDao;

    @Override
    public BaseDao<Depot> getDao() {
        return depotDao;
    }

    public List<Map<String, Object>> findNoDepot() {
        return depotDao.findNoDepot();
    }

}
